Module: MainFeed
Interfaces
Functions
MainFeed
▸ MainFeed(inProps
): JSX.Element
API documentation for the Community-JS Main Feed Template. Learn about the available props and the CSS API.
This component renders the template for the main feed. Take a look at our demo component here
Import
import {MainFeed} from '@selfcommunity/react-templates';
Component Name
The name SCMainFeedTemplate
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCMainFeedTemplate-root | Styles applied to the root element. |
Parameters
Name | Type |
---|---|
inProps | MainFeedProps |
Returns
JSX.Element
Defined in
MainFeedSkeleton
▸ MainFeedSkeleton(): JSX.Element
API documentation for the Community-JS Main Feed Skeleton Template. Learn about the available props and the CSS API.
Import
import {MainFeedSkeleton} from '@selfcommunity/react-templates';
Component Name
The name SCMainFeedTemplate-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCMainFeedTemplate-skeleton-root | Styles applied to the root element. |
Returns
JSX.Element